import config from "@/config"
import http from "@/utils/request"


export default {
	getpic: {
		url: `${config.API_URL}/getpic`,
		name: "壁纸查询",
		get: async function(params){
			return await http.get(this.url, params);
		}
	},
	createpic: {
		url: `${config.API_URL}/create`,
		name: "新建壁纸",
		post: async function(data){
			return await http.post(this.url, data);
		}
	},
	delivery: {
		params:{
			nu:"快递单号"
		},
		url: `${config.API_URL}/common/delivery`,
		name: "快递物流信息查询",
		get: async function(params){
			return await http.get(this.url, params);
		}
	},
	// getpic2: {
	// 	url: `${config.API_URL}/getpic`,
	// 	name: "壁纸查询",
	// 	post: async function(data){
	// 		return await http.get(this.url, data);
	// 	}
	// }
}
